package com.huaxiafinance.management.mapper;

import com.huaxiafinance.management.dto.request.MemberDto;
import com.huaxiafinance.management.model.MallScoreRecord;

import java.util.List;

public interface MallScoreRecordMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(MallScoreRecord record);

    int insertSelective(MallScoreRecord record);

    MallScoreRecord selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(MallScoreRecord record);

    int updateByPrimaryKey(MallScoreRecord record);

    List<MallScoreRecord> selectByMemDto(MemberDto dto);

    int countGrade(MemberDto dto);

    List<MallScoreRecord> queryMembershipAddLevel(MemberDto dto);

    int countAddLevel(MemberDto dto);
}